#ifndef CONDITION_H
#define CONDITION_H

#include "defs.h"
#include "instruction.h"
#include "econ.h"

enum {BRANCH_IF, BRANCH_ELSE, BRANCH_ELIF};

class Condition : public Instruction
{
public:
	virtual ~Condition();
	
	Retour evaluer(map<string, Var_T> *loc, map<string, Var_T> *glob);
	int type;
	int offset;
	Econ *e;
};

Instruction* conditionner(list<token> src);

#endif